package com.mos.dao;

import com.mos.base.sql.Page;
import com.mos.entity.User;

import java.util.List;
import java.util.Map;

/**
 * Package Name: com.mos.dao
 * User: grq
 * Date: 2016/3/24
 * Time: 14:56
 * Description:some des here!
 */
public interface UserDao {

    public void save(User user);

    public Page<User> queryPage(Integer pageNo, Integer pageSize, Object[] params);

    public User findById(int id);

    public Map<String,Object> find(int id);

    public List<Map<String,Object>> queryList(String name);
}
